import request from "@/utils/request";

export const ownChannels = () => {
    return request({
        url: '/v1_0/user/channels'
    })
}

export const allChannels = () => {
    return request({
        url: '/v1_0/channels'
    })
}

export const setChannels = (data) => {
    return request({
        url: '/v1_0/user/channels',
        method: 'put',
        data
    })
}